<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

//$this->pageTitle=Yii::app()->name . ' - Login';
//$this->breadcrumbs=array(
//	'Login',
//);
?>

<title>Login Area</title>

<div class="account-container stacked">
	<div class="content clearfix">
		<?php
		$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
			'id' => 'horizontalForm',
			'type' => 'horizontal',
				'enableClientValidation'=>true,
				'focus'=>array($model,'username'),
			'clientOptions'=>array(
				'validateOnSubmit'=>true,
			),
		)); ?>
		
		<h1>Sign In</h1>
		<div class="login-fields">
			<p>Sign in menggunakan account anda:</p>
			<div class="field">
				<label for="username">Username:</label>
				<?php echo $form->textField($model,'username',array('class'=>'form-control input-lg username-field','placeholder'=>'Username')); ?>
			</div>
			<div class="field">
				<label for="password">Password:</label>
				<?php echo $form->passwordField($model,'password',array('class'=>'form-control input-lg password-field','placeholder'=>'Password')); ?>
			</div>
		</div>
		<div class="login-actions">
			<?php echo CHtml::submitButton('Sign In',array('class'=>'login-action btn btn-primary')); ?>
		</div>
                
		<div class="login-social">
			<p align="center">Sistem Informasi Management Aset</p>
			<p align="center">CV.TransCode &copy; <?php echo date("Y") ?></p>
		</div>
		
		<?php $this->endWidget(); ?>
		
	</div>
</div>
<div class="login-extra">
	Belum mempunyai account?<br />
	Silakan hubungi Administrator
</div>

<?php /*
<legend><div class="tengah"><h1>Login</h1></div></legend>


<?php
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'id' => 'horizontalForm',
    'type' => 'horizontal',
    	'enableClientValidation'=>true,
        'focus'=>array($model,'username'),
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>
<fieldset>
    <div class="tengah">
       <div class="well span5 center login-box">
        <div class="control-group ">
        <label class="login-left" for="Nama Pemilik">Username </label>
        <div class="controls">
            <?php echo $form->textField($model,'username'); ?>
        </div>
    </div>

    <div class="control-group ">
        <label class="login-left" for="Nama Pemilik">Password </label>
        <div class="controls">
            <?php echo $form->passwordField($model,'password'); ?>
        </div>
    </div>


<div class="control-group ">
                <div class="controls">
            <?php echo CHtml::submitButton('Login'); ?>
        </div>
    </div>

<?php $this->endWidget(); ?>
    </div>
    </div>
</fieldset>
*/ ?>